package org.dromara.pay.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.pay.domain.PayAlipayOrdersSign;
import org.dromara.pay.domain.PayActivityOrder;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreType;
import org.dromara.common.core.utils.tree.TreeCruxField;
import org.dromara.wx.domain.WxUser;
import org.dromara.system.domain.SysUser;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.springframework.transaction.annotation.Transactional;
import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 支付宝订单信息视图对象 pay_alipay_orders_sign
 *
 * @author yf
 * @date 2024-07-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PayAlipayOrdersSign.class)
public class PayAlipayOrdersSignVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 支付订单验签id
     */
    @ExcelProperty(value = "支付订单验签id")
    private String alipayId;
    /**
     * 商户订单号
     */
    @ExcelProperty(value = "商户订单号")
    @Translation(type = PayActivityOrder.TRANS_ID_TO_OBJECT, mapper = "activityOrderId")
    private Object activityOrder;
    private Integer activityOrderId;
    /**
     * 支付宝交易凭证号
     */
    @ExcelProperty(value = "支付宝交易凭证号")
    private String alipayNo;
    /**
     * 交易名称
     */
    @ExcelProperty(value = "交易名称")
    private String subject;
    /**
     * 交易状态
     */
    @ExcelProperty(value = "交易状态")
    private String tradeStatus;
    /**
     * 交易金额
     */
    @ExcelProperty(value = "交易金额")
    private BigDecimal totalAmount;
    /**
     * 买家在支付宝的唯一ID
     */
    @ExcelProperty(value = "买家在支付宝的唯一ID")
    private String buyer;
    /**
     * 买家付款时间
     */
    @ExcelProperty(value = "买家付款时间")
    private Date gmtPayment;
    /**
     * 买家付款金额
     */
    @ExcelProperty(value = "买家付款金额")
    private BigDecimal buyerPayAmount;
    /**
     * 支付时间
     */
    @ExcelProperty(value = "支付时间")
    private Date payTime;
    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    private Date updateTime;
}
